
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>cypress 获取</title>
    <style>
    </style>
</head>
<body>
    <div id="seconds-elapsed"></div>
    <div id="system-date"></div>
</body>
<script>
   let seconds = 0

    setInterval(() => {
        document.querySelector('#seconds-elapsed').innerText = (++seconds + ' seconds');
        document.querySelector('#system-date').innerText = new Date();
    }, 1000)
</script>
</html>